package com.example;

import com.example.mapper.UserMapper;
import com.example.mapper.impl.UserMapperImpl;
<<<<<<< HEAD
import com.example.dao.User;
=======
import com.example.pojo.User;
>>>>>>> 4a415ad7e6346b1b1956b12c9156b54f8097bc61

import java.util.List;

/**
 * @author 22044133 左立志
 * @data 2025/3/5 14:59
 */
public class Main {
    public static void main(String[] args) {
        UserMapper userMapper = new UserMapperImpl();
        List<User> list = userMapper.selectAll();
        for(User user:list)
            System.out.println(user);
<<<<<<< HEAD
        User user = userMapper.selectId(1);
        System.out.println(user);
=======
>>>>>>> 4a415ad7e6346b1b1956b12c9156b54f8097bc61
    }
}